package com.hp.gxw.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.gxw.entity.SysRole;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author huangping
 * @since 2020-03-04
 */
public interface ISysRoleService extends IService<SysRole> {

	IPage<SysRole> selectInfoPage(Page<SysRole> page, Wrapper<SysRole> ew);

	SysRole selectInfoOne(Wrapper<SysRole> ew);

	void add(SysRole sysRole) throws Exception;

	void edit(SysRole sysRole) throws Exception;

	void delete(Wrapper<SysRole> ew) throws Exception;

	List<SysRole> selectInfoList(Wrapper<SysRole> ew);

	long selectInfoCount(Wrapper<SysRole> ew);

}